package com.the_last.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class SysPermissionDTO {
    
    private Long id;
    
    @NotBlank(message = "权限编码不能为空")
    private String permissionCode;
    
    @NotBlank(message = "权限名称不能为空")
    private String permissionName;
    
    @NotBlank(message = "资源类型不能为空")
    private String resourceType;
    
    private Long parentId;
    
    private Integer sortOrder;
    
    /**
     * 业务类型ID (用于筛选查询)
     */
    private Long businessTypeId;
    
    private Integer status;
    
}